cmake_minimum_required(VERSION 2.8)
project(RTPPuller)

set(CMAKE_CXX_STANDARD 11)


add_compile_options(-std=c++11)
add_compile_options(-fpermissive)

add_compile_options(-DBOOST_ALL_DYN_LINK)

include_directories("/usr/include/ffmpeg/")

link_directories(/usr/local/lib)

#
#find_package(Boost REQUIRED COMPONENTS
#        #  regex
#        filesystem
#        system
#        log_setup
#        log
#        serialization
#        )
#
#find_package(OpenSSL REQUIRED)


aux_source_directory(./src DIR_SRCS)


add_executable(RTPPuller ${DIR_SRCS} )

target_link_libraries(RTPPuller pthread avcodec avfilter avformat avutil postproc swresample swscale )